#include <WinTen.h>
#include <Windows.h>
#include <extend.h>

BOOL FAR PASCAL SetDeskWallPaper( LPSTR szBmpFileName );

//----------------------------------------------------------------------------//

CLIPPER GETDESKTOP() // WINDOW() --> hWndDesktop
{
   _retnl( ( LONG ) GetDesktopWindow() );
}

//----------------------------------------------------------------------------//

CLIPPER SETDESKWAL()   // LPAPER()      // Bitmap File Name
{
   if( PCOUNT() )
   {
      _retl( SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, _parc( 1 ), 0 ) );
   }
   else
      _retl( FALSE );
}

//----------------------------------------------------------------------------//
